package com.smartleanx.module.hrm.controller.admin.memorandum.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 备忘录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MemorandumRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28628")
    private Long id;

    @Schema(description = "备忘事件", requiredMode = Schema.RequiredMode.REQUIRED)
    private String memos;

    @Schema(description = "备忘时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = DatePattern.NORM_DATE_PATTERN, timezone = "GMT+8")
    @JsonSerialize(using = LocalDateSerializer.class)
    private LocalDate memosDate;

}
